<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <title>中国电信浙江分公司文件系统</title>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
    <style type="text/css">
      <!--
      BODY {
        FONT-SIZE: 12px;
      }
      .STYLE1 {
        color: #FFFFFF
      }
      -->
    </style>
  </head>
  <body >
    <br/><br/><br/>
    <form action="/" method="POST">
    <input type="submit" style="display:none"></input>
      <div id="Layer1" style="position: absolute; left: 518px; top: 186px; width: 259px; height: 170px; z-index: 1">
        <table width="90%" border="0" align="center" cellpadding="0"
               cellspacing="0">
          <tr>
            <td width="23%" height="18" class="font12">
              用户名：
            </td>
            <td width="77%" class="textfield2">
              <input name="username"
                     id="username"
                     size="16"
                     maxlength="18"
                     value=""
                     onkeydown="if(event.keyCode==13)event.keyCode=9" />
            </td>
          </tr>
          <tr>
            <td width="23%" height="18" class="font12">
              密&nbsp;&nbsp;码：
            </td>
            <td width="77%" class="textfield2">
              <input type=password
                     name="password"
                     id="password"
                     size="16"
                     maxlength="18"
                     value=""
                     onkeydown="if(event.keyCode==13)form_sub()" />
            </td>
          </tr>

        </table>
        <table width="163" border="0" align="center" cellpadding="0"
               cellspacing="0">
          <tr>
            <td width="27%" height="43"></td>
            <td width="27%">
              <a href="javascript:funConfirm()"><img
                  src="/site_media/image/login2007_04.gif" width="59" height="27" border="0">
              </a>
            </td>
            <td width="46%">
              <a href="javascript:form_reset()"><img
                  src="/site_media/image/login2007_05.gif" width="62" height="27" border="0">

              </a>
            </td>
            {{errors}}
          </tr>
        </table>
      </div>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
            <img src="/site_media/image/login2007.gif" width="417" height="48">
          </td>
        </tr>
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100%" background="/images/login2007_02.gif">
                  <img src="/site_media/image/22.jpg" width="782" height="238">
                </td>
                <td align="right" background="images/login2007_02.gif">
                  <img src="/site_media/image/login2007_03.gif" width="237" height="238">
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td>&nbsp;

          </td>
        </tr>
      </table>
    </form>
  </body>
</html>
<script language="JavaScript">
    function funConfirm(){
        if(document.forms[0].username.value==""){
            alert("用户名不能为空!");
            document.forms[0].username.focus();
            return false;
        }else if(document.forms[0].password.value==""){
            alert("密码不能为空!");
            document.forms[0].password.focus();
            return false;
        }else {
            document.forms[0].submit(); return true;
        }
    }

    function form_reset(){
        document.forms[0].reset();
    }
    // 添加回车事件
	  document.onkeydown = function(evt){
		var evt = window.event?window.event:evt;
		if(evt.keyCode==13)
		{
			funConfirm();
		}
	  }
</script>